﻿<extend name="../Public/base" />
<block name="title">类型列表</block>
<block name="body">
    <div class="cl pd-5 bg-1 bk-gray mt-20">
        <span class="l"><a class="btn btn-primary radius" data-title="上传文档" data-href="{:U('upload')}" onclick="Hui_admin_tab(this)" href="javascript:;"><i class="Hui-iconfont">&#xe600;</i> 上传文档</a></span>
    </div>
    <div class="mt-20">
        <table class="table table-border table-bordered table-bg">
            <thead>
                <tr class="text-c">
                    <th width="10%">ID</th>
                    <th width="10%">类型ID</th>
                    <th width="20%">文档名称</th>
                    <th width="15%">上传时间</th>
                    <th width="30%">备注</th>
                </tr>
            </thead>
            <tbody>
            <volist name="list" id="info">
                <tr class="text-c">
                    <td>{$info.file_id}</td>
                    <td>{$types[$info['type_id']]['type_name']}</td>
                    <td>{$info.file_name}</td>
                    <td>{$info.create_time}</td>
                    <td>{$info.remark}</td>
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
    <div class='paging_simple_numbers'>
       {$page}
    </div>
</block>